Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 6 - Printing Resources / Printing Resources Reference
Constants and Data Types


Raster Preferences Structure

The raster preferences structure, of type gxRasterPrefsRec, defines the format of the raster preferences ('rdip') resource.

struct  gxRasterPrefsRec{
   gxRasterRenderOptions
               renderOptions;
   Fixed       hImageRes;
   Fixed       vImageRes;
   short       minBandSize;
   short       maxBandSize;
   Fixed       ramPercentage;
   long        ramSlop;
   short       depth;
   short       numPlanes;
   gxPlaneSetupRec
               planeSetup[1];
};

typedef struct gxRasterPrefsRec gxRasterPrefsRec, 
*gxRasterPrefsPtr, **gxRasterPrefsHdl;
Field Description
renderOptions
Rendering options for raster imaging. The constants that you can combine into a single value for this field are the values of the raster render options enumeration, described in the next section.
hImageRes
The horizontal resolution for imaging.
vImageRes
The vertical resolution for imaging.
minBandSize
The minimum band size to use, in pixels.
maxBandSize
The maximum band size to use, in pixels. A value of 0 in this field indicates that the maximum band size is the full page.
ramPercentage
The maximum percentage of available RAM to use.
ramSlop
The minimum amount of RAM to leave available.
depth
The depth, in pixels, for each plane.
numPlanes
The number of planes.
planeSetup
An array of structures containing the setup data for each plane.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help